Recognizing S-Star Polygons
نویسنده
چکیده
We consider the problem of recognizing star-polygons under staircase visibility (s-visibility). We show that the s-visibility polygon from a point inside a simple orthogonal polygon of n sides can be computed in O(n) time. When the polygon contains holes the algorithm runs in O(n log n) time, which we prove to be optimal by linear time reduction from sorting. We present an algorithm for computing the s-kernel of a polygon in O(n) time for simple orthogonal polygons and in O(n 2) time for orthogonal polygons with holes; both complexities are optimal in the worst case. Finally, we report the main result of this paper: we show that even though the s-kernel of a polygon with holes may have (n 2) components it is possible to recognize such polygons in O(n log n) time.
منابع مشابه
A Fast Algorithm for Covering Rectangular Orthogonal Polygons with a Minimum Number of r-Stars
Introduction This paper presents an algorithm for covering orthogonal polygons with minimal number of guards. This idea examines the minimum number of guards for orthogonal simple polygons (without holes) for all scenarios and can also find a rectangular area for each guards. We consider the problem of covering orthogonal polygons with a minimum number of r-stars. In each orthogonal polygon P,...
متن کاملGenerating random star-shaped polygons
In this paper we deal with two problems on star-shaped polygons. At rst, we present a Las-Vegas algorithm that uniformly at random creates a star-shaped polygon whose vertices are given by a point set S of n points in the plane that does not admit degenerated star-shaped polygons. The expected running time of the algorithm is O(n logn) and it uses O(n) memory. We call a starshaped polygon degen...
متن کاملGenerating Random Star-shaped Polygons (extended Abstract)
In this paper we deal with two problems on star-shaped polygons. First, we present a Las-Vegas algorithm that uniformly at random creates a star-shaped polygon whose vertices are given by a point set S of n points in the plane that does not admit degenerate star-shaped polygons. The expected running time of the algorithm is O(n 2 logn) and it uses O(n) memory. We call a star-shaped polygon dege...
متن کاملShape blending using the star-skeleton representation
We present a novel approach to the problem of generating a polygon sequence that blends two simple polygons given a correspondence between their boundaries. Previous approaches to this problem, including direct vertex interpolation and an interpolation based on edge lengths and angles between edges, tend to produce self intersections and shape distortions. Our approach introduces the star-skele...
متن کاملOn the number of star-shaped polygons and polyhedra
We show that the maximum number of strictly star-shaped polygons through a given set of n points in the plane is (n). Our proof is constructive, i.e. we supply a construction which yields the stated number of polygons. We further present lower and upper bounds for the case of unrestricted star-shaped polygons. Extending the subject into three dimensions, we give a tight bound of (n) on the numb...
متن کامل